/*
 * @Descripttion: 
 * @version: 1.0.0
 * @Author: YinJianFeng
 * @Date: 2024-03-29 10:15:27
 */
import { Box, Typography } from '@mui/material';
import React, { useEffect } from 'react';
import DefaultPropertyPanel from './DefaultPropertyPanel';

export function PropertyPanel() {
  const width = 300
  useEffect(() => {

    registerSelectionEvents()
    return () => {

    }
  }, [])

  const registerSelectionEvents = () => {
  }

  return (
    <Box sx={{ p: '20px', width: width + 'px' }}>
      <Typography component='h4'>属性面板</Typography>
      <DefaultPropertyPanel />
      {/* {ctx2.propertyPanelLoader.panel && ctx2.propertyPanelLoader.panel.render(ctx2.propertyPanelLoader.params)} */}
    </Box>
  )
}